TextLayoutDiagnostics

data class TextLayoutDiagnostics(val overshoot: TextOvershoot, val totalLineCount: Int, val visibleLineCount: Int, val clippedLineCount: Int, val requiredHeight: Float, val fontScale: Float)

Planar text layout before strokes, effects, animations, and block transforms.

Constructors

Link copied to clipboard
constructor(overshoot: TextOvershoot, totalLineCount: Int, visibleLineCount: Int, clippedLineCount: Int, requiredHeight: Float, fontScale: Float)

Properties

Link copied to clipboard

Lines hidden by the authored clipping setting, independent of text editing.

Link copied to clipboard

Common automatic font-size multiplier; 1 when automatic sizing did not scale the text.

Link copied to clipboard

Nonnegative ink outside each frame edge, including ink of clipped lines.

Link copied to clipboard

Full layout height at the current wrap width and fitted sizes, in scene design units.

Link copied to clipboard

All laid-out lines, including lines hidden by the frame.

Link copied to clipboard

Lines visible with the authored clipping setting, independent of text editing.